﻿module Sustainalytics.Common.Admin {

    export interface IStaticObjects {
        apiBaseUrl: string;
        authBaseUrl: string;
        baseUrl: string;
        getMessageByInternalCode: (internalCode: number) => string;
        getErrorMesageByStatusCode: any;
        errorCallback: (error, status, internalCode: number) => void;
        initSignalR: () => void;
        clearUserInfo: () => void;
        redirectToLogin: () => void;
        redirectToDefault: (redirectTo?: string) => void;
        authDataIsExpired: (authData: Sustainalytics.Authentication.AuthData) => boolean;
        resourcePermissions: string;
        eventsServiceBaseUrl: string;
        redirectToLink: (link: string) => void;
    }
}